﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;


public partial class zhankai : System.Web.UI.Page
{
    int messageid = -1;
    protected void Page_Load(object sender, EventArgs e)
    {
        Class1 cc = new Class1();
        if (Request.Params["MessageID"]!= null)
        {
            messageid = Int32.Parse(Request.Params["MessageID"].ToString());
            DataList1.DataSource = cc.GetReplyByMessage(messageid);
            DataList1.DataBind();
            DataList2.DataSource = cc.GetReplyByMessage(messageid);
            DataList2.DataBind();
        }
    }
    protected void LinkButton1_Click1(object sender, EventArgs e)
    {
        DataList1.Visible = true;
    }
}